package com.stone.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author stone
 * @date 2022/4/21 13:58
 */
@Data
public class SysUserPasswordDTO implements Serializable {

    @NotNull(message = "原密码 不能为空")
    @ApiModelProperty(value = "原密码")
    private String oldPassword;

    @NotNull(message = "新密码 不能为空")
    @ApiModelProperty(value = "新密码")
    private String newPassword;
}
